assume cs:code
data segment
	db 'Welcome to masm!',0
data ends
code segment
	start:mov dh,8
		mov dl,3
		mov cl,2
		mov ax,data
		mov ds,ax
		mov si,0
		call show_str
		mov ax,4c00h
		int 21h
	show_str: mov bx,0b800h
		mov es,bx
		mov ax,160
		mul dh
		mov bx,ax
		mov ax,2
		mul dl
		mov dx,ax
		add dx,bx
		mov di,dx
	c:	mov cx,[si]
		mov ch,0
		jcxz s
		mov ch,0cah
		mov es:[di],cx
		inc si
		add di,2
		jmp c
	s: ret
code ends
end start